/**
 * Copyright 2011 Joe Choi, All rights reserved.
 */
package tao.data.structure.tree;

import static tao.data.structure.tree.TaoTree.tree;

/**
 * @author Joe Choi
 */
public class TreeData {
	@SuppressWarnings("unchecked")
	public void setup() {
		Tree<Integer> tmp1, tmp2, tmp3;
		
		tmp1 = tree(1, tree(1), tree(2), tree(3));
		tmp2 = tree(2, tree(1), tree(2), tree(3));
		tmp3 = tree(3, tree(1), tree(2), tree(3));
		t1 = tree(0, tmp1, tmp2, tmp3);
		
		tmp1 = tree(1, tree(1), tree(2), tree(3));
		tmp2 = tree(2, tree(1), tree(2));
		tmp3 = tree(3, tree(1), tree(2), tree(3));
		t2 = tree(0, tmp1, tmp2, tmp3);
		
		t3 = new ConcreteGrowableTree<Integer>(t1);
	}

	protected Tree<Integer> t1, t2;
	protected GrowableTree<Integer> t3;
}
